<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="theme-color">
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>分享家</title>
    <link rel="stylesheet" type="text/css" href="../lib/css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../lib/css/mui.css"/>
    <link rel="stylesheet" href="../css/util.css">
    <script src="http://at.alicdn.com/t/font_371407_7omis3wrfr7tx1or.js"></script>
</head>
<link rel="stylesheet" href="../css/msg.css">
<link rel="stylesheet" href="../css/index.css">
<body>
<header class="fxj-header">
    <h1 class="fxj-title">消息</h1>
</header>
<main id="main">
    <ul id="OA_task_1" class="mui-table-view">
        <li class="mui-table-view-cell mui-transitioning" v-for="chat of chatList" @click="chatting($event,chat.id)" v-if="chat.deleteId==='0'||chat.deleteId===chat.id">
            <div class="mui-slider-right mui-disabled">
                <a class="mui-btn mui-btn-red" style="transform: translate(0px, 0px);" >删除</a>
            </div>
            <div class="mui-slider-handle" style="transform: translate(0px, 0px);">
                <img class="avatar" :src="chat.img" alt="">
                <div class="chat-mini">
                    <p>
                        <span v-cloak>{{chat.userName}}</span>
                        <span v-cloak>{{chat.date}}</span>
                    </p>
                    <div class="user-msg" v-cloak>{{chat.msg}}</div>
                </div>
            </div>
        </li>
    </ul>
</main>
<nav id="tab-nav">
    <a @click="openF('../index.html',1)">
        <svg v-show="!tab1" class="icon" aria-hidden="true">
            <use xlink:href="#icon-find-o"></use>
        </svg>
        <svg v-show="tab1" class="icon active" aria-hidden="true">
            <use xlink:href="#icon-find"></use>
        </svg>
        <span class="tab-label" :class="{active:tab1}">发现</span>
    </a>
    <a @click="openF('./indent.html',2)">
        <svg v-show="!tab2" class="icon" aria-hidden="true">
            <use xlink:href="#icon-order-o"></use>
        </svg>
        <svg v-show="tab2" class="icon active" aria-hidden="true">
            <use xlink:href="#icon-order"></use>
        </svg>
        <span class="tab-label" :class="{active:tab2}">订单</span>
    </a>
    <a @click="openF('./msg.html',3)">
        <svg v-show="!tab3" class="icon" aria-hidden="true">
            <use xlink:href="#icon-message-o"></use>
        </svg>
        <svg v-show="tab3" class="icon active" aria-hidden="true">
            <use xlink:href="#icon-message"></use>
        </svg>
        <span class="tab-label" :class="{active:tab3}">消息</span>
    </a>
    <a @click="openF('./me.html',4)">
        <svg v-show="!tab4" class="icon" aria-hidden="true">
            <use xlink:href="#icon-user-o"></use>
        </svg>
        <svg v-show="tab4" class="icon active" aria-hidden="true">
            <use xlink:href="#icon-user"></use>
        </svg>
        <span class="tab-label" :class="{active:tab4}">我</span>
    </a>
</nav>
<script type="text/javascript" src="../lib/js/babel-polyfill.js"></script>
<script type="text/javascript" src="../lib/js/vue.js"></script>
<script type="text/javascript" src="../lib/js/mui.js"></script>
<script type="text/javascript" src="../lib/js/jquery.js"></script>
<script type="text/javascript" src="../script/util.js"></script>

<script src="../script/msg.js"></script>
</body>
</html>